home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / XDME / include / all.h next >
Encoding:
C/C++ Source or Header  |  1996-09-27  |  3.4 KB  |  137 lines

  1. /******************************************************************************
  2.  
  3.     MODUL
  4.     all.h
  5.  
  6.     DESCRIPTION
  7.     Precompileable headerfile.
  8.  
  9. ******************************************************************************/
  10.  
  11. #ifndef ALL_H
  12. #define ALL_H
  13.  
  14. /**************************************
  15.         Includes
  16. **************************************/
  17. #include <stdio.h>
  18. #include <stdlib.h>
  19. #include <lists.h>
  20. #include <strings.h>
  21. #include <ctype.h>
  22. #include <stdarg.h>
  23. #include <exec/lists.h>
  24. #include <exec/nodes.h>
  25. #include <exec/types.h>
  26. #include <exec/memory.h>
  27. #include <exec/ports.h>
  28. #include <devices/inputevent.h>
  29. #include <libraries/dos.h>
  30. #include <libraries/dosextens.h>
  31. #include <graphics/gfxbase.h>
  32. #include <graphics/gfxmacros.h>
  33. #include <graphics/rastport.h>
  34. #include <intuition/intuition.h>
  35. #include <intuition/intuitionbase.h>
  36. #include <clib/exec_protos.h>
  37. #include <clib/dos_protos.h>
  38. #include <clib/graphics_protos.h>
  39. #include <clib/intuition_protos.h>
  40. #include <clib/diskfont_protos.h>
  41. #include <clib/console_protos.h>
  42. #include <clib/alib_protos.h>           /*HD added */
  43. #include <clib/icon_protos.h>
  44. #include <workbench/startup.h>
  45. #include <workbench/workbench.h>
  46. #include <libraries/asl.h>
  47. #include <clib/asl_protos.h>
  48. #include <clib/reqtools_protos.h>
  49. #include <libraries/reqtools.h>
  50. #include <pragmas/exec_pragmas.h>
  51. #include <pragmas/dos_pragmas.h>
  52. #include <pragmas/graphics_pragmas.h>
  53. #include <pragmas/intuition_pragmas.h>
  54. #include <pragmas/diskfont_pragmas.h>
  55. #include <pragmas/console_pragmas.h>
  56. #include <pragmas/icon_pragmas.h>
  57. #include <pragmas/asl_pragmas.h>
  58. #include <pragmas/reqtools_pragmas.h>
  59.  
  60. /* Memory-Debugging. */
  61. /*#include "debug_mem.h" */
  62.  
  63. #include "global.h"
  64.  
  65.  
  66. /**************************************
  67.         Globale Variable
  68. **************************************/
  69. extern struct DosLibrary * DOSBase;
  70.  
  71.  
  72. /**************************************
  73.     Defines und Strukturen
  74. **************************************/
  75. #ifndef NULL
  76. #define NULL 0
  77. #endif
  78. #ifdef E
  79. #undef E
  80. #endif
  81. #ifndef offsetof
  82. #define offsetof(sname,fname)  ((long)((sname *)0)->fname)
  83. #endif
  84.  
  85. /*
  86.  *  note: if you want Local routines to silently be global, simply
  87.  *  '#define Local' to nothing.
  88.  */
  89.  
  90. #define Prototype extern
  91. #define Local      static
  92.  
  93. #ifndef _DCC
  94. #define __stkargs
  95. #endif
  96.  
  97. #define MAXLINELEN    256        /* Max. length of a line */
  98. #define MAXROWS     256        /* Max. number of rows a XDME-window can have */
  99. #define PINGDEPTH    10        /* Max. number of PING/PONGs */
  100. #define MAX_FONT_SIZE    64        /* Font may be at most this pixel high */
  101.  
  102. #define MAXTOGGLE   256
  103. #define QMOVE        (0x6B)
  104.  
  105. #define COLT(n)  (XTbase + ColumnPos[n])
  106. #define ROWT(n)  (YTbase + RowPos[n])
  107. #define COL(n)   (Xbase  + ColumnPos[n])
  108. #define ROW(n)   (Ybase  + RowPos[n])
  109.  
  110. #define nomemory()  { globalflags.memoryfail = 1; globalflags.Abortcommand = 1; }
  111.  
  112. struct __XDMEArgs
  113. {
  114.     char ** files;        /* filenames */
  115.     char  * startupfile;    /* ".edrc" */
  116.     ULONG   newxdme;        /* FALSE */
  117.     ULONG   iconify;        /* FALSE */
  118.     ULONG   autoload;        /* FALSE */
  119.     char  * publicscreenname;    /* NULL */
  120.     char  * projectfilename;    /* "XDME_Project_File" */
  121.  
  122.     struct RDArgs * ra;     /* internal */
  123. };
  124.  
  125.  
  126. /**************************************
  127.            Prototypes
  128. **************************************/
  129.  
  130.  
  131. #endif /* ALL_H */
  132.  
  133. /******************************************************************************
  134. *****  ENDE all.h
  135. ******************************************************************************/
  136.  
  137.